import { $post, $get } from "@/utils/request";

//用户注册
export let register = (Param) => {
   return $post("/user/register", Param)
}

//登录
export let userLogin = (Param) => {
   return $post("/user/login", Param)
}

//重置密码
export let resetPassword = (Param) => {
   return $post("/user/reset", Param)
}

//重置密码
export let resetPw = (params) => {
   return $post("/user/resetPw", params)
}
//用户基本信息
export let userInfo= (params) => {
      return $get("/user/info", {params})
   }
//修改用户基本信息
export let updateInfo = (params) => {
   return $post("/user/update", params)
}



